package com.hxd.otc.module.my.contract;

import com.hxd.otc.module.my.adapter.BankCardAdapter;
import com.hxd.otc.module.my.bean.BankCardBean;
import com.hxd.otc.module.my.bean.UserStatusBean;
import com.hxd.otc.mvp.contract.BaseRecyclerContract;

/**
 * Created by lzy on 2018/6/7 0007.
 * description ${收款契约Contract}
 */
public interface BankCardContract {
    interface View extends BaseRecyclerContract.View<BankCardAdapter, BankCardBean> {
        void onDeleteTradeModeSuccess(int position, BankCardBean item);

        void findCardStatusSuccess(UserStatusBean userStatusBean);

        void findCardStatusFail(String errMessage);
    }

    interface Presenter extends BaseRecyclerContract.Presenter<BankCardBean> {

        void onDeleteTradeMode(int position, BankCardBean item);

        void findCardStatus();
    }
}
